package org.zero.onlinesubject.mapper;

import org.zero.onlinesubject.entity.ClassInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Entity org.zero.onlinesubject.entity.ClassInfo
 */
public interface ClassInfoMapper extends BaseMapper<ClassInfo> {

    int asignTeacherToClass(String userId, String[] classList);

    List<ClassInfo> getJoinClass(String userid);

    List<String> getJoinUser(String classId);
}




